package rouchuan.viewpagerlayoutmanager.carousel;

import com.zlzlib.liblayoutmanager.LayoutCarouselManager;

import rouchuan.viewpagerlayoutmanager.BaseActivity;
import rouchuan.viewpagerlayoutmanager.Util;


public class CarouselLayoutActivity extends BaseActivity<LayoutCarouselManager, CarouselPopUpWindow> {

    @Override
    protected LayoutCarouselManager createLayoutManager() {
        return new LayoutCarouselManager(this, Util.Dp2px(this, 100));
    }

    @Override
    protected CarouselPopUpWindow createSettingPopUpWindow(boolean isAuto) {
        return new CarouselPopUpWindow(this, getViewPagerLayoutManager(), getRecyclerView(),isAuto);
    }
}
